<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>中科碳和</title>
    <meta name="keywords" th:content="${SITE_CONFIG.SITE_KWD}">
    <meta name="description" th:content="${SITE_CONFIG.SITE_DESC}">

    <link rel="stylesheet" th:href="@{/cweb/css/news_view.css}"/>
    <link rel="stylesheet" th:href="@{/cweb/css/customer-20211209.css}"/>
</head>
<body>
<div class="header">
    <div th:replace="home/cfragments/navbar :: cnavbar"></div>
</div>

<!--文章首页-->
<div class="news-view">
    <div class="content">
        <div class="bread-crumb">
            <a th:href="@{/}">首页</a> &gt;
            <a th:href="@{${('/blog/category/' + categoryId)}}" th:text="${categoryName}"></a>
        </div>
        <div class="left">
            <h3 th:text="${article.title}"></h3>
            <span class="time">日期：<span th:text="${#dates.format(article.updateTime, 'yyyy-MM-dd')}"></span></span>
            <span class="type">关键词：<span th:text="${article.keywords}">行业新闻</span></span>
            <div class="view" th:utext="${article.content}">
            </div>
            <!--  <div class="bar">
                  <span>上一条：<a href="">智能电表组装测试线</a></span>
                  <span>下一条：<a href="">机器人快换</a></span>
              </div>-->
        </div>


        <!--TODO 取出推荐文章的TOP 5， 除去自己-->
        <div class="right">
            <h3>更多内容</h3>
            <ul th:each="bizArticle:${bizArticles}">
                <a th:href="@{${('/blog/article/' + bizArticle.id)}}">
                    <li><span th:text="${bizArticle.title}"></span><span>&gt;</span></li>
                </a>
            </ul>
        </div>
        <div class="cf"></div>
    </div>
</div>
<div class="footer">
    <div th:replace="home/cfragments/footer :: cfooter"></div>
</div>
</body>
</html>
